package ifExercises;

import java.util.Scanner;

/**
 * @author: snail_mount
 * @date: 20/1/25 2:14
 * @description: 输入星期数，显示今天的减肥活动
 * 周一：跑步
 * 周二：游泳
 * 周三：慢走
 * 周四：动感单车
 * 周五：拳击
 * 周六：爬山
 * 周日：好好吃一顿
 */
public class LoseWeight {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入星期几");
        /*if (sc.next().contains("一")) {
            System.out.println("跑步");
        } else if (sc.next().contains("二")) {
            System.out.println("游泳");
        } else if (sc.next().contains("三")) {
            System.out.println("慢走");
        } else if (sc.next().contains("四")) {
            System.out.println("动感单车");
        } else if (sc.next().contains("五")) {
            System.out.println("拳击");
        } else if (sc.next().contains("六")) {
            System.out.println("爬山");
        } else {
            System.out.println("好好吃一顿");
        }*/
        int week = sc.nextInt();
        if (week < 1 || week > 7) {
            System.out.println("您输入的有误");
        } else if (week == 1) {
            System.out.println("跑步");
        } else if (week == 2) {
            System.out.println("游泳");
        } else if (week == 3) {
            System.out.println("慢走");
        } else if (week == 4) {
            System.out.println("动感单车");
        } else if (week == 5) {
            System.out.println("拳击");
        } else if (week == 6) {
            System.out.println("爬山");
        } else {
            System.out.println("好好吃一顿");
        }
    }
}
